a bug in checking the generated hyperplane in generate_ function of Separate fixed.