Statistics for Effective Algorithm for Building and Solving Linear Systems