Implemented depth buffer
Added documentation for z-buffer functions