remap inputs to MELA calculation