some tweaks and updates to rasterplot and matrix