save global variables to a file (param_basis.mat)