replaced lambda functions with declares in motile code for simulation.
replaced lambda functions with declares in motile code for simulation.

karinies/coast,karinies/coast,mgiorgio/coast,karinies/coast,mgiorgio/coast,karinies/coast,mgiorgio/coast,mgiorgio/coast,karinies/coast,mgiorgio/coast