Update dcautoCost2.m