MAINT: remove unused import
MAINT: remove a usage of np.matrix as a convenience function in newton_cotes
Merge pull request #3319 from argriffing/remove-more-mat

MAINT: remove some unnecessary use of np.matrix