compiling on osx
extracted out ray tracing algorithm
WIP