slight name changes in lsdm.py and in metric.py