Fixed OptimizeSeriesTransform, performed initial testing, but further testing required.