freq_sync_py: added tags to inform cp_sync about changing estimates. cp_sync_py: changed freq offset calculation (now based on correlation). cleaned up the code a bit.