spatialwide function

Transformation of numeric matrices from long to wide format