New numpy version (1.14) breaks our sphinx docs

I will push these fixes directly in the master branch if you don't mind @amohammadi and @andre.anjos

Edited by Tiago de Freitas Pereira