getting Modelview matrix