Continued documentation and cleaned up Ray and Triangle