added COHcompute and analyse_wavecoh