numpy: stop using matrix -> ndarray