Model-Based Machine Learning and Probabilistic Programming in RStan