Fixed Formatting issues with quadratic equations for some cases

The formatting for some cases when b < 0 were fixed.