A simple implementation for Continuous Lyapunov