Algebraic And Geometric Properties Of Hierarchical Models