upgrade to ndarray 1.0.0