added distance from cache
added distance from cache complete
Merge pull request #2 from jollivetc/distance

Distance