Improving Makefile
Minor changes to trecog.cc

I really should take my time to improve this. :(