Calculating Half Life Formula