better notation for angle calculation