Influence of the mutual gravitational attraction in a set of masses of deadweight machines