added python scripts of plotting functions and distance functions from development notebooks