have cfapprox working with arrays instead of single number coeff