line searching
gradint angle