A Comparative Study of Two Dimensional Legendre & Chebyshev Wavelet with an Extended case