My geo working code (curve let, internship in Paristech)