Added is zero utility function
Implemented torus primitive

Added utility class for finding roots of 4 degree polynomial functions
Transform ray to sphere local coordinates before solving intersection
Use isZero function
Add torus primitive to test scene
Remove userprefs
Fixed extension for user prefs