Implemented the hash_fn mechanism into the biometric algorithm

4 jobs for hashfn in 17 minutes and 49 seconds (queued for 5 seconds)