Added autonomy percentage calculation.