Implemented Ljapunow, may still needs improvment