Fixed a typo in the doc title

The @title tag funciton --> function. This typo recurs elsewhere in the documentation.