A Geometric View of Optimal Transportation and Generative Model