working through Peter Shirley's ray tracing books and rewriting into cache-friendly C99 with clang vector extensions