Optimization of an Optical Magnetic Twisting Cytometry system for the study of cell mechanics