concept of PDF files: https://www.box.com/files/0/f/640313537/nelderMeadSimplex