Finished agentKalman