fix minor bugs
Merge branch 'master' of https://github.com/linpawslitap/mds_scaling