EM minimisation works on small test case. Small test case is in the input folder.