triangle interpolation works