Remove explicit ndarray require statements to allow lazier loading
Improve construct-mutable-matrix to make better use of NDArray