Adding the Polarization Curve functionality