BUG: accept None input in idwt.  Closes gh-29 and gh-32.