Rename function.
Fix bug in merge_split_mapping( ).
Add function pivot_mapping( )