First version of position posterior lattice
Fix generation of posterior position lattices