Adding time frequency cross correlation difference.
Added inverse time frequency transform.
Adding adjoint source calculation for tf phase misfit.
Adding test for the adjoint tf phase misfit source.
Minor refactoring
Some refactoring and minor optimizations.
Minor cleanup in the adjoint src function.

Got rid of the differentiation of weighted and non-weighted synthetics.
The weighting should happen independent of the misfit calculation.