range, must be finite iterable
true if population covariance, false if sample covariance (default)
See Implementation