added a lineEquation MathUtils function