Mapped recursive legendre quadrature implemented successfully.
Made rl quad work for small values of N