refactored to use imshow rather than create hacky axes. Much more robust now.
no longer assumes ax==gca
new function for plotting lines in MDS plot according to some RDM
new function for setting plot handle Z coordinate - sometimes useful to force correct layer order when uistack fails