static polar(magnitude, phase) {
        let [cos, sin] = Util.snappedCosSin(phase);
        return new Complex(magnitude * cos, magnitude * sin);
    }
Returns a complex number with the given magnitude and phase.
@param {!number} magnitude Distance from origin.
@param {!number} phase Phase in radians.
@returns {!Complex}