almost have a basic functional coxsimPoly