STY: remove code duplication, rename pchip.p to pchip.bpoly