Tweaked imsd and imsd_plot

Instead of returning both results and labels in imsd(), which would be confusing especially for users who don't care for the labels, imsd_plot() is now internally managing labels. imsd() is back to its original state.