Update math_stuff.cpp