legendre functionofthe second kind