added max iter to em if the convergence takes too long
modified run function so it returns a value
started working on the histograms for the crabs