Development of a Human Activity Recognition System Using Inertial Measurement Unit Sensors on a Smartphone