Fixed issues which cased an incorrect count of food and pheromones to be made. Fixed issues which prevented the simulation from being deterministic.