Computing angle to gravity vector.