Cleaning smart phone motion data for human activity recognition application