well things are moving lol
fixed some matlab code