Calculating cannabinoids mass percentage in biomass based on moisture content of biomass