Add cmath includes (#277)
`std::abs(Real)` needs the real-valued version of std::abs() function, which is found in the cmath header. (Versus the integer-valued versions, which can also be found in the cstdlib header.)
We were missing those imports in a few locations, which was causing my compiler to complain.