add vector version opengl wrapper for glLightModel and glMaterial