Agreement function model for pose estimation. Issue 20 (1st September 2016)