Fixed errors and started on Sphere intersection