Biosensors calculate the road to sporting victory