fix type
init matrix.c