Make ConvolveFourier and ConvolveNaive a function.