Novel approach to ambulatory assessment of human segmental orientation on a wearable sensor system