Particle filtering grid

Code with successful pf code and tidied and functioning simulation code
for K and PRCC