cdm/ncvariable.m: Add mdata() for matlab-style indexing.