Removed old crappy math library, unused math functions.