finished converting to list form of coefficients