the ray is a direction, not a point
added image drawing, fixed ray and hit computation