Added fortran based utils.

Changed api to makemf for building material models.