Adds some minor refactoring.
Adds histogram plotting to hasher.
Adds FLANN library to third_party packages.