efPoly function

Legendre Polynomials of degree 0,...,M-1