In reply to John Devos.

Yes, you are correct. I have updated to code and the output table to reflect the correct computation. Thank you!