Numerical investigation of masonry infilled R.C. frames