1.finish SlashSegmet, to be tested
2.add Algebra to do point calculation