Changes in mobileAgent to generate randomWayPoint motion