Added various intersectors

Ray intersections with planes, spheres and bouding boxes added. Other
minor fixes and improvements.