Fixed 'divided by zero' bug in statistics. => Fixed #5 .