Correcting a bug on Lyapunov Spectrum calculation and setting up tests