Fixed Sphere intersect function, completed lab 6.