add rand shuffle for array
find Ax=y linearization (rewrite in python)
python linearizer Ax+B = y