Feature/issue 80 stan integration

This updates Stan so it compiles using the updated develop branch.