add new function to replace wrong headers in spm nifti files