Code example

The following code was developed using the generic expansion described in equation \ref{eq:bestParamsEquation} to optimise computing time for a given desired precision