Improving Entropy Estimation and the Inference of Genetic Regulatory Networks