added mass fraction formalism to gas and elem classes; now calculate_lum
gives answer in real units based on input parameters