Minor updates. Also added a bunch of LSH stuff