Optimal Transport: Some Analytic and Geometric Aspects