updated matlab script in readme