Fix bug in variance calculation for operations

OperationStats.getVariance() was supposed to be given in nanoseconds but
was being calculated in seconds instead