added functions for Stan v. 1.3.0
added functions for Stan v 1.3.0
added types and keywords