Cleaning data from human activity recognition using smartphones