Stability Analysis in the Twist-Bend Nematic Liquid Crystal Model