Working single-whisker optimization