Added an 'unsqueeze' function

The default data array is four dimensional; it is often 'squeezed' to
make it one or two dimensional. The unsqueeze function changes it back
for steps that assume four dimensions
Fixed problem in the 's' function when passing non-string variables