Fixed two bugs (lognormpdf and PF.measure)