Gravar-mail: Humanoid gait optimization resorting to an improved simulation model