changed costmin output to gammaOpt instead of CE