Output the model parameters to csv file