STRUctural Modeling of Latent Variables for General Pedigree