A General Statistical Model for Multifactorial Inheritance of Discontinuous Traits