Add maxiterations input argument for solver functions
Currently the maximum number of iterations often is restricted to 1000 steps. It however is possible that the users wants higher precision, so the user should have the possibility to manually specify this parameter. There is a need for a solver class, the user can create an instance of, which may has some standard values which then can be changed.