DOC: clarify matrix flatten docstring