rename makeSingleObjectiveOTFFunction to makeSingleObjectiveFunction