Refactored code in "interface_map_mprime_calculator_map" to merge code for 1 phase and code for 2 phases material.