Switched to double-precision numbers
Avoid numeric instability caused by multipling single-precision matrices in shaders
Fixed numeric precision problems