speed up pattern search by not redoing matrix inverse calc for poll mesh every iteration