Update doc/common/matrix_generator.md
: review and rewrite for clarity
#5023
+323
−161
doc/common/matrix_generator.md
: review and rewrite for clarity
#5023