MATLAB code for analyzing tweezing data