Added corr slot to KTGainVariationProcessor.
Fixed memory leak in KTVariableSpectrumDiscriminator: set the spline implementation into the spline's cache.