Updated to work with NrrdIO.h , year 2012