raytracing and point check

still read in is a little broken- not sure why