Changed mpimatrix to use double* instead of int*. Added Makefile.