DMP (deformable part model) implemented with MATLAB