trying exponential decay for cost in model2