Fixed error in getting mass fraction

Fixed the mass fraction error
About to add mctal module

Adding the mctal module than completed.