Fix for new philips dwi

refined the previous patch.  In the process, discovered a bug in the code I wrote in itk::DCMTKImageIO.