Fixing bug in minimal media and metabolites to optimize