Added functionality to get 3D points from 2D points in rendered openGL