[Polygamma] Extend derivatives-of-cot method to larger orders.
Extend test cases for negative x.
Fix missing return statement on error condition.