Dynamic Modeling of Tall Masonry Structures and Treatment of Rocking Motion