some Matlab updates