added stuff, changed final project.m to investigate lyapunov issues.