Added a makefile.  New function getGridCoord added.