Changed MatrixMode to modelview before starting the display function, checked z scaling, and testing reading in pixel values