Wrote a few routines to break up the larger calcCoherence.f90 code. One advantage is they create their own FFTW plans. Another is that they do the trending properly.