more utils functions, more tests to dense linear system