High NOx readings mean combustion temps are too high. EGR reduces combustion temps so start with that. If the spark timing was 10-degrees too advanced that might contribute to high combustion temps as well.
The folks at
www.club4ag.com might have specific information.
Sixto
95 S420
87 300SDL