Why Does AI Get Math Wrong? Understanding AI Calculation Errors