Convert System Matrix to Sparse Form && Some Modifications for Line,Truss2D,Truss3D Class.