of the fitted cylinder. The input was also changed from taking both a direction and center as initial guess to just the direction. The center is guessed from the geometrical center of the atoms and fitted during the optimization procedure.