Create of matrix