Improving particle filter performance with a generalized random field model of observation errors