added Bayesian method of restricting a deformation based on a known shape distribution of vertices.