adding matlab scripts