Differential Properties of Sinkhorn Approximation for Learning with Wasserstein Distance