Add basic Functions.

Add spherical and sigmoid functions (migrated from cilib/scala).
Merge pull request #2 from avanwyk/functions

Add basic Functions.