THREE DIMENSIONAL NONLINEAR BUILDING POUNDING WITH FRICTION DURING EARTHQUAKES