Fix stupid smallest angle calculation