Update and rename noteCost2.m to cautoCost2.m