* Added Makefile
* Corrected some portability issues (Templates not linking on g++, vector.resize resulting in an exception on g++)