Run length encoded sparse ndarray