debugging the algorithm, have to check matrix A, etc.