Fix variable naming problem in physicist.py