Text this: Robust Human Machine Interface Based on Head Movements Applied to Assistive Robotics