added Lyapunov exponent code, integrating into model1 notebook as well
reserved merge conflicts