Added code to cache vector similarity data structures
Merge remote-tracking branch 'origin/master'