fixed a sign error in symbsys and added timeout functionality, as well as some error checking and stopping power when armijo goes below a certain step size