first commit

old matlab code & 1st julia code