Iv calculation problems