PREDICTION OF FAILURE PATTERN IN MASONRY STRUCTURES SUBJECT TO LOADS AND EXTERNAL DISPLACEMENTS