Calculating the k vector with a list comp