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

Is it by a large magnitude? Is it possible to speed up the original function? 
Probably this function would be better in that module.