first drafts of EM alg, no completed tests