freq_sync_py: reintroduced threshold checking. added note about a minor bug.
freq_sync: fixed the error where fft_vec didnt get populated correctly.