added previous solution to the solve method of linear iterative solver
fixed datatable order