Change triangle interploation formula.