changed modelView function to take in two parameters for view and model matrices