Creating nifti structure