added method to calculate consensus refresh interval (not quite correct yet)