EM is now 10000x better. Faster, more precise, corner case NaNs are now taken care of