The graduation of fertility distributions by polynomial functions