fixed matrix init call