Checking for bad wavelet transform while parsing.  #195

Being more intelligent about printing in such cases.
Merge branch 'issue195' into devel