progress on entropy estimator -- needs testing still