reorganize matlab files