updated comments for polyfit