statistics: bugfix: avgValues were computed as long, not double
lb: rename methods