finished implementing intersection,plane,direction,and  getHits methods