Fix health calculation
Merge pull request #34 from G-Ray/health

Fix health calculation