added matlab version sem_matlab.m