Computation for Latent Variable Model Estimation: A Unified Stochastic Proximal Framework