Rendering Functions Finished

First pass on all functions needed for rendering complete.