Ellipsoidal separation for classification problems