SetMagnitude function

Learn technical details about the SetMagnitude function.