Performing Linear Regression Using Ruby | Hacker News Reader