Fig 7 - Code segment to compile the model