Boosting efficiency with the triangle inequality
     
   
   
angular distance:       d = acos(r)