auto_phase_bl function

Perform zeroth-order phase correction based on expected baseline regions.