Calculates a quaternion with the inputted magnitude.

// Returns 0.3651 + 0.7303i + 1.0954j + 1.4606k
const normscl = Chalkboard.quat.magset(Chalkboard.quat.init(1, 2, 3, 4), 2);