corrected bug in kmcmc