randomizes agent vector