gh-38134: some care for blank lines in matrix/
fixing pycodestyle warning for blank lines in pyx files in matrix folder
### :memo: Checklist
- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.
URL: https://github.com/sagemath/sage/pull/38134
Reported by: Frédéric Chapoton
Reviewer(s): Matthias Köppe