Added scalar versions of floor, ceil and trunc

There were problems with using namespace land; where ceil() could not find the
scalar version defined in cmath.