Nudged Particle Filter with Optimal Resampling Applied to the Duffing Oscillator | Synapse