first pass at kmeans and expectation maximization classes