Matlab sigmoid layer. Layer % Example custom Sigmoid layer.