MAINT: remove unused import
MAINT: remove a usage of np.matrix as a convenience function in newton_cotes
BUG: use 'take' in a less brittle way
Merge pull request #3344 from argriffing/interp-take

BUG: in interp use 'take' in a less brittle way
Merge pull request #3319 from argriffing/remove-more-mat

MAINT: remove some unnecessary use of np.matrix