A Survey on Wearable Technology: History, State-of-the-Art and Current Challenges