Detection of walking features by using IMU attached cane