Supervised median neural gas