On gait recognition with smartphone accelerometer