Useful Linear Trendline Class in C#

I've searched and searched trying to find a simple class to calculate a slope and intercept from a set of points.
Here is the outcome, but I probably modify it to use LINQ rather then loops