Added sphere intersection testing. Fixed a bug

Group node was bad, fixed it. Added intersection testing for spheres.