updated kmcmc and ksimplex