Update wald.py

removed typos ( wrong variable name )