added print friend function for qpose.