Measuring Behaviour and Performance with Sensors