finished getting angle from tangent