restructured code so dimensions would be in reverse order from nco order (because MATLAB likes it that way).  Also take into acocunt plev variable as dimension now.  Also updated code so that the number of dimensions is a required input in the create and overwrite nc variable funcitons, since singleton time dimension is ignored in matlab.  Code now takes ignored isngleton dimension into account.