added documentation for differentiation of rational functions