A NAO robot model in Matlab