Made Sigmoid and SimAnnealing into function handlers.
Merge pull request #1 from dstar4138/master

Made Sigmoid and SimAnnealing into function handlers.