added automated station distribution function
Phase chopping optimization, check_plot(), ...