[CHANGE] Refactoring and changes in quaratic equations functionality