fixes to hamming kernel
Merge branch 'master' of https://github.com/BIDData/BIDMat