matrices are initializad to zero