calculation of moles now sorta works