Matlab tweaks.