spatiallong function

Transformation of numeric matrices from wide to long format