Equilibrium of Pointed, Circular and Elliptical Masonry Arches Bearing Vertical Walls