A Matlab Toolbox for Pattern Recognition