Added log-likelihood of data, and moved some #includes to the header.