removed polynomial function from numpy