added histogram diff to test
added mintpal, extra debug prints
merged master into mintpal and fixed conflict
Merge pull request #19 from sDessens/mintpal

Mintpal