M is now in reals instead of complex