Trying to run original Matlab version.