Keep track of slice dimension

Slice dimension is decremented when an integral type is passed to
operator[] call. This is not currently used anywhere, but will become
handy for implementation of multi_array

refs #31