tailio waves calculation in the dog and pet animals