perhaps just do: `M = inv(M)`