Text this: Using chaos synchronization to estimate the largest lyapunov exponent of nonsmooth systems