Changed height to rows and width to columns for variable names in spatial layers.