changed some stuff with shadows. also gave shadowIntersect its own functions for sphere and triangle