On calculation of generating functions of Chebyshev polynomials in several variables