Add trilinear.c