regrouped the fourier commands and more importantly fixed the constant of the saw tooth map to agree with the definition in the comment