You could put print statements at strategic points among the calculations functions.

You gave some excellent italicized bold-face advice. Did you follow it yourself?


So...

Start here:...