Curvature Method to Detect Location and Depth of a Plastic Zone in Frame Members during an Earthquake