Implement bounding volumes for polygon and teapot. Move ArrayExtensions class to own file.