Enhanced code and preparations for bee simulation and scent diffusion (state and gradients)