Design and tuning of a bi-stable compliant mechanism