initialized line fitting
initialized line fitting