Handle case if linear system has no solution