added mass fraction attribute to the Formula class