fixed references, added makefile
removed debug flag
Merge pull request #1 from gambogi/master

I fixed latex