Fixed makefile.in, gitignore, and added documentation.