Fix particle filter memory leak
Fix lb > ub allowance