made the particle filter much faster by taking out duplicated calulations.  some updates to toby_net2