doctest/nddata

Fixes doctests in  package.  @astrofrog