Decision stump and perceptron with metrics (mlpack). Minor fixes