design calculation for riveting machine