Fixing shit, still working on math library change.