Implemented frustum culling