A set of functions to estimate entropy from discrete and continuous samples