implemented choice of cuts in Legendre function P
Merge remote-tracking branch 'upstream/master' into clpmn
fixing signs in the derivative of LegendreP
Merge pull request #3015 from gertingold/clpmn

ENH: special: choice of cuts in Legendre P function