Added more functions to math utils