Generalized Take to accept arbitrary dimensions and slices as inputs