Added masked array support to shiftgrid, fix cut and paste error in
previous commit. Patch provided by Jesper Larsen.
Authored by: jswhit 2008-11-07
Parent: [r6369]
Child: [r6371]