create/adapt methods for cleaner retreival/usage of indices
corrections in _Solver._error method