Fixed the collision detection code. Restored the dynamic lighting