Optimal mobile-agent measurement and mapping of a dynamic field