Refactor preparing to cuda_morlet
calculate_morlet on gpu