Added crosstabG to compute G statistic for tables

Maximum likelihood based statistic for comparing rows and columns of
tables
Fixed a bug with the Yates correction; added a table output