playing around with polynomial class in numpy