Cleaned up FreqMod, and added documentation to PhaseDiffs