Created FunctionCreator class to generate minimizing functions for different contour comparison tests