Tanner-Whitehouse 2 method