Fix bunch of unused variable warnings
Merge pull request #30 from jpetrell/warnings

Fix bunch of unused variable warnings