updated collision detection hit function to return a normal vector for the surface that was hit. modifed updatePoints to account for theta.