changed my unit_M to Chris' convention of M_unit, for consistency