changing the back calculation function so that it includes the mineral concentration.