fixing header file
Pull matrix prototypes into header file. Adding makefile.