Improved assesment of whether a parameter in sbml should be a state variable in lems