improved matlab-enc