Fixed A Bug with Stability Analysis