added line equation to MathAlgorithms