Add some logging

Trying to debug some issues with the means ratio