Update datacost.m