Changed health calculation to have more precision