K array added, mmpi2 calculation done