fixed bugs in multilabel perceptron classifier