Algebraic and geometric methods in statistics