added functions for multiple plots and tools for wsinv3d