Bug 634 Added roundto function, optimized floor and ceiling

Fixes Bug634 by adding roundto(amount, places).
Merge pull request #140 from enderw88/Bug634-floor-ceil-round

Bug 634 Added roundto function, optimized floor and ceiling