A wireless accelerometer system with wavelet analysis for assessing lameness in cattle.