Use log likelihoods / weights in particle filter
Created by: Tuebel
The reason is that the likelihoods will be joint by the likelihood of many pixels (about 307200). This will lead to numerical instabilities. Calculating the logarithm each will lead to a sum of log likelihoods. See https://www.hindawi.com/journals/jece/2018/5763461/#B9