fixed resizing problem in Hydra....

When retrieving a 1-D slice of the data into vector, Hydra threw an Invalid Rank exception. Now, it is checked if the requested slice is 1-dimensional irrespective of the actual dimensionality of dims.