added pocket algorithm for linearly unseparable data