Added calcShadows() method to Ray class.

- Moved traceRay() to Ray class.
- Added calcShadows() to Ray class to replace existing code for shadows.
- Implemented very basic precision handling in Sphere class.