Optimization of an amplification mechanism enabling large displacements in MEMS-based nanomaterial testing devices