Learning Polynomial Transformations