working ! modified CHARMED_reassemble so that it just takes a header, no changing folder within the function. Created function_CHARMED_DTI_getHdr to get the header info from the nifti file.