Included routines to perform simplex optimisation to enable a solution to an LAE cost function