Rearrange quadratic equation to standard form (#289)