Optimize sprite, fix a few maths functions