layout_pmds function

pivot MDS graph layout