Started work on raytracing, with segments and end points!