Generalized multimode latent variable models: implementation by standard programs