adding matlab preprocessing scripts