Extrapolator function is modified. Some comments are added.