Wraps bcmath functions into object