Enviar por SMS: A Global optimization stochastic algorithm for head motion stabilization during quadruped robot locomotion