Added the division into smaller array function into wavelet_filter_a.

There is still no optimisation done.
- Can you please check whether it is correct writing the file location
like that if the data is in the program software?