Added calculating for linear equation.
Added view for linear equation