Adding shannon entropy, tested it and appears to be working. TODO add a
shannon entropy filter.