A set of Matlab functions to produce latex output