An Algorithmic Approach for Peak load Evaluation of Structural Elements obeying a Menétrey-Willam type yield criterion