plastic explosives worked to a strict chemical formula which dave only partially understood ; nonetheless , he was brilliant at shaping charges to blow inward or outward for point detonations or flat detonations .