Update dm.py
more edits
Merge remote-tracking branch 'origin/bp' into bp

Conflicts:
	python/materialscommons/dm.py