matlab code

added files that I've been working on