fixes to hamming kernel
fixes to hamming kernel

phlip9/BIDMat,codeaudit/BIDMat,codeaudit/BIDMat,codeaudit/BIDMat,codeaudit/BIDMat,codeaudit/BIDMat,phlip9/BIDMat,phlip9/BIDMat,phlip9/BIDMat,phlip9/BIDMat