implemented choice of cuts in Legendre function P
Merge remote-tracking branch 'upstream/master' into clpmn
fixing signs in the derivative of LegendreP
BUG: stats.entropy broken (issue #3030)

stats.entropy will fail when calculate relative entropy of arrays have
ndim > 1. (issue #3030)
assign -inf to vec after call to xlogy
pep8 fix
Merge pull request #3015 from gertingold/clpmn

ENH: special: choice of cuts in Legendre P function
set the term to be 0 when p[k]=q[k]=0
Merge pull request #3041 from richardtsai/fix_relative_entropy_ndim

BUG: stats.entropy broken (issue #3030)