Machine Riveting for Automatic Assembly