Editing Taher's DDMD_MOLECULE branch.