added include cmath to jetGeometry