shortest angle on circle

returns the shortest angle between a center and 2 points. useful for linear interpolations on a circle