dmm: remove dummy main from mexfunction
dmm: change string to fortran format