Added a class for math utilities