Kernel-Based Generalized Median Computation for Consensus Learning