First pass all the way through the sufficient statistics code. I think it's working now....?