Calculates the magnitude (or modulus) squared of a complex number.

// Returns 25
const r2 = Chalkboard.comp.magsq(Chalkboard.comp.init(3, 4));