[WIP] Locality Sensitive Hashing for approximate nearest neighbor search(GSoC)

This method is called only once. I would inline it.