modified to use scipy.spatial.distance.hamming - fixes #61
minor clean-ups