Rename the function calc_total to compute_total everywhere in this project, including all call sites.