full wave form inversion用のmain program