Bug fix

Bug from when inserting the Hamming distance function