- normalize matrix