Finished V1 of Barzilai-Borwein for TV.