Refactored activation functions into their own package.
Added documention to all packages.