print averages of angles and translations
initial parameters from Alex