Added group actions. Elbow only working for a limited range of bend angles.