Update wald.py

removed typos ( wrong variable name )
Merge pull request #1 from horstjens/patch-1

Update wald.py