C program which finds the minimum of a function using the Neld Mead simplex algorithm