Patch for pickle
Merge pull request #117 from kyleabeauchamp/distances

Patch for pickle