Add linear regression in C (for benchmarking)