Performance improvement of optical mouse sensors for position measurement