create class Sigmoid and gave a base impl