Update LSH to use numpy