Modified the iterator used by Ray to be re-usable (reducing memory allocation overhead).
Modified PinholeCamera to pre-allocate memory for ray caching.
Modified notes.