In Penknife, added pkfnLinear() and used it in appropriate places.