I am writing my first ever Stan function and am having trouble with writing the likelihood function. The likelihood is a nonstandard one and so I am trying to write my own c