Text this: Analytical formulation of the stiffness method for 2d reticular structures using green functions