Source: http://www.hec.unil.ch/amattei/manuel.pdf