Added note on optimization of logp