started adding cost func for line_line_angle