visually separated old fxns from new ones

The old fxns may later be moved to a different file. May be unneccesary
for paper, but provide useful other figures for Figshare or future
analyses.
restructuring noplacelikehome fxn to be more easily read

renamed MARK_distance --> capture_history because that's what it s