wavelet_transform: Some doctests were failing corrections were made to doctest options and imports to fix this problem.