Fix logHR calculation in Model