a script for making MDS plots from scratch