Scale Magnitude and Direction prior writing it to a file.