Corrected argument for computing the k value