Improve hfold
Merge pull request #1 from stanch/master

Improve hfold