updating 3d plotting
fixing 3d plotting