A generalized approach for compliant mechanism design using the