Add new technique of fold line fitting. Optimalisation of time an precision of the fitting algorythm