Fixed mismatch in variable names
Merge pull request #514 from spkersten/small_fix

Fixed mismatch in variable names