completed basic ray tracing