Added many functions to functions.lua
Merge branch 'master' of https://github.com/morbidintel/FYP_Aversion

Conflicts:
	functions.lua