Added some math helper lambdas.  Totally not stolen from a turtle or
anything...