ttvh functions definitions added
ttvh functions added
ttvh analysis functions implemented