Problems connected with the arrangement of a non-linear finite element method to the analysis of masonry structures