cleaned and slight optimized mathlib, FXQuake -> fxQuake