make equations more beautiful, better input unit checking