Providing c++ math functions compariable to the XNA math library