single thread initial EM
close #3: Merge branch 'single-thread-EM'

* single thread initial EM