These functions currently accept dask arrays, but use numpy functions on them. We have to add tests that check that they stay Dask arrays