Ztimes fix and namespace tweek

(I'm not sure why as.matrix is not available, perhaps needs
exportMethods from raster but with Depends that's not clear)