Changed model to stanmodel