Implement entropy calculation