Remove extraneous arguments. Closes #14.
Correct dependencies in Makefile. Add -Wall flag and fix all -Wall warnings.