biases and encoders (-1,+1) are now implemented