Approximate Method of Calculating Critical Shock Initiation conditions and run distance to detonation