matrix.py/as_numpy: docstring, remove useless import