Split off pipeline into linear and nonlinear LKT

Made two versions of the pipeline file. The normal one does linear LKT.
The nonlinear one calls the nonlinear LKT. Copied from previous
revisions.