Initial port of PlotSurface2D