Grouped a bunch of the helper functions into raytraceHelpers.h