Unifying Tensor Factorization and Graph Neural Networks: Review of Mathematical Essentials for Recommender Systems