Add check for inverted spark output
TPS correction in ini
Additional checks in the interpolation routine for edge cases