improved the error checking for the LnL tolerance in model parameter optimization routine.

The tolerance is not hard-coded but a function of the LnL score now.
updated version number