The Tensor-Train Format and Its Applications