Added more ray tracing fn's