Removed unused variable

Closes #48