Generalized latin matrix and construction of orthogonal arrays