Fixed issue #33 (missing divide by 2 in one term) and changed calling convention for all KL divergences so that:
1) The arguments are always a pair of tables containing named parameters (this only affectes dir.kl, which previously took two vectors as arguments)
2) The first argument is named q and the second is named p, to be consistent with the conventional notation.
Fixed issue #33 (missing divide by 2 in one term) and changed calling convention for all KL divergences so that: 1) The arguments are always a pair of tables containing named parameters (this only affectes dir.kl, which previously took two vectors as arguments) 2) The first argument is named q and the second is named p, to be consistent with the conventional notation.