Text this: Development and Validation of the Pre- and Post-Processing Algorithms for Quantitative Gait Analysis using a Prototype Wearable Sensor System