A discrete nonlinear model of shear-shear-torsional beam for building analysis