Remove some usage of Math functions from Coord and StatsModifierTraits.