Update Functions.rmd

Fixed typo - 'terminates'