Use exchange when restoring state
Use array<> for multi remote_to_local, local_to_remote
Pass med_create_group_rotation_matrix arg by &
Add med_create_group_rotation_matrix that returns result
Pass med_copy_group arg by &
Pass med_move_group arg by &
Pass AttachSegmentNewAng arg by &
Pass rotate_segment_new arg by &
Add vm_angles_2_matrix that returns result
Add vm_vec_ang_2_matrix that returns result
Add vm_vector_2_matrix that returns result
Pass check_and_fix_matrix vms_matrix by &
Add vm_vec_rotate that returns result
Add vm_extract_angles_matrix that returns result
Add make_random_vector that returns result