custom slicing works for 2D

Started getting custom slicing to work. Currently only works on 2D
datasets, due to apparent limitations with h5py and slice objects.