Closed-Form Linear Model Fitting — Coding problem | OneNoughtOne