fixed the intersect method
started the code to get the shadow working