A wearable biosensing system with in-sensor adaptive machine learning for hand gesture recognition