Feature extraction using maximum nonparametric margin projection