Implemented a JaggedArray using masked arrays.