Calculation errors and troubleshooting