Fix bug where cosmology.parameters was not reset to empty list