Structural Modelling and Analysis for Research and Technology of masonry walls (S.M.A.R.T. masonry). Parte I: Modello computazionale