FYI, your calculations don’t agree with HealthFit app (examples attached). Historically, HealthFit has been excellent with complex calculations.