Bagged k-nearest neighbours classification with uncertainty in the variables.