Added plotting of sigmoid