Fixed bug in matrix creation of main.c
 Please enter the commit message for your changes. Lines starting