Fixed GLX bug, implemented math lib (missing: svd)