updated functions and distributions to Stan 1.1.1