IndexLSH works. Made additional small changes.