Make ImmutableArray inherit from BaseNDArray
extra predicates
ImmutableArray slicing and subarrays
ImmutableArray tests and fixes