cleaned up EM - wrote a simple gibbs sampling outline