Structural Shape Optimization Using Penalty Functions