added more test animations up to 10, random target distance and intervals, made epsilon smaller for better accuracy