Fixed some things in structured perceptron.