Rework math library
Remove obsolete stuff
Big move