Added debugging flag to makefile
Removed unused variables