calc_overlap.py: Two-point fitting routines.