Set up to smooth curvature more
Bugfix for period calculation