math.extras: cleanup duplicate code.
mirrors: simplify code with fry.
math.extras: rename 2pi-range to [0,2pi].
math.extras: use fry for clarity.