library for reslicing neuroimaging data