Fix add, sub, mul and div.
and mathValid method