WIP: EM and KNN are unified in one function

ComputeEMPosteriors and ComputeKNNPosteriors are set in one function
called ComputePosteriors, that means KNN is run at each iteration of EM
loop.