Ferroelectric Hysteresis Tracer Featuring Compensation and Sample Grounding