re-add ndarray as dependency