In reply to Ksharp.

Thanks for running the code. I have updated the program to say
print propDiff;