Modified getTranslates MATLAB function.
The modification allows the function to return a value of false
for the wavelet translates if the wavelet flag is OFF