Fixed a bug in calc_angdih2 function. Testing an option angdih2g which solves for the geometric mean.