Update documentation with section on mathematical methods.