Are you referring to the `sqmahal` function? It is not strictly needed. I call it inside the `logpdf` function, but I could remove `sqmahal` by including its body in `logpdf`. In terms of code organization, it may be good to retain `sqmahal` though. What do you think-suggest?