Fixed variable name typo. Closes #11