Stack Exchange network consists of 178 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
View all activity pages
So I actually - finally - figured it out, and just in case anyone else is ever stuck on this, I'll post what I did.
Throughout I've been using the following formula: That for a random vector $X \in \...