Geometric Methods In Statistics And Optimization