getting rid of matlab stuff