calculation of lyapunov spectrum added