change standard matlab solver to simple iteration