modify mexprintf statements to use interface for cleaner printing
only include fintrf.h for matlab mex