Text this: A Novel Mathematical Approach to Gait Analysis