moldft bugfix
Merge pull request #14 from lratcliff/master

Fixes and closes issue #1.