Warning: I always assume that every error in my programming occurs because I am terrible at math. You can therefore imagine my shock and excitement when I learned that one of my very first errors was NOT due to my lack of mathematical prowess. So without…