Improved the design of linear equation problem.