test program for hermite function