Good job so far! I do have some input here... It looks like you're using the G term that was described in the paper, which seems fine. It's not 100% right though in practice/use, since we make a substitution of G, and introduce something called V, for visibility. This was what Lazarov did in his 2011 paper... So V is…