Implements Sigmoid nonlinearity elementwise x to 1/(1+e^(-x)) so the output is between 0 and 1.

@author Daniel Persson (mailto.woden@gmail.com)