I am getting an Index was out of range error when I try and call Percentile.Compute.
Here is my code :
```
IEnumerable<double> values =new[]{1.1, 2.2, 3.3, 4.4};
Percentile p = new Percentile(values);
p.Method=PercentileMethod.Interpolation;
return (decimal) p.Compute(0.1);
```
Any clues as to what the error could be?
full error info :
```
Index was out of range. Must be non-negative and less than the size of the collection.
```
Here is my code :
```
IEnumerable<double> values =new[]{1.1, 2.2, 3.3, 4.4};
Percentile p = new Percentile(values);
p.Method=PercentileMethod.Interpolation;
return (decimal) p.Compute(0.1);
```
Any clues as to what the error could be?
full error info :
```
Index was out of range. Must be non-negative and less than the size of the collection.
```