Revert "Revert "Linear coefficients- first implementation""

This reverts commit dea594aa5bf598cbdf882546b0a846e0384d2cd1.