Added age vaidation in heart beat calculator