Multi-dimensional Legendre wavelet matrix approach for hyperbolic telegraph equation with dirichlet boundary condition