This function calculates information capacity of a signal.
Reference: Searby, A., & Jouventin, P. (2004). How to measure
information carried by a modulated vocal signature? Journal of the Acoustical
Society of America, 116, 3192-3198. doi:10.1121/1.1775271