write_basis_niidir function

Write a basis object to folder containing one NIfTI MRS file for each basis element.