A C++ Math Static Library rewritten.