Modifications to analysis routines to compute advance and transfer for turns
Added legend to trackplot