free_eigensystem to cleanup, and parameters are no longer global.