Applications of Geometry in Optimization and Statistical Estimation