Added calc_acel