Forensic analysis of explosions: Inverse calculation of the charge mass