Adding some matlab script.  They don't work atm