Revert "improve function to createMatrix A"

This reverts commit d41a3de44841db77fea0b28ffa3daf07997d6c76.
verzweifelt