Using wearable sensors and machine learning to enrich lower limb assistive devices