Finished the coefficient finding problem