BUG: Fixed xrange probem in MixedLM profile; fixed complex number problem in MixedLM Hessian

Small but important bug fixes:

* Error in profile_re, which previously had no test.  I fixed the error and added a test.

* Basic test coverage for EM

* Fix the issue that was producing a warning about complex numbers.

pep-8 style: In general we still follow the rule of spaces around all operators except power `**` (not exactly pep-8 rule)