A Mathematical Model to Simulate Physiological Adjustments to Extreme Environments to Analyse Human Responses to Adverse Environmental Conditions