Added more error messages explaining how arithmetic operations failed.