A tool for generating a phasor diagram given a list of magnitudes and phase angles