Thanks for your answers, I had gotten the periodicity and what ever. I thought that was taken into acount in the program. Perhaps it would usefull to include it in the g_angle subroutine ... Xavier Periole