Statistical Deformation Model: Theory and Methods