added function to plot surfaces in viz module
classify visualization based on the type of plots (1d, 2d, 3d)