Complex to Mag Squared

Calculates the magnitude of the input, and squares it. Can also work on vectors.