I finally have completed all the code changes for the torpedoes

Wow, that was a nightmare
The torpedoes sim file will need to be updated. The code assumes ALL values whose notes say percent or percentage are in the range of 0.0-1.0 (being 0% - 100%). If someone wants to take on the updating of the torpedoes sim file that would be great

Using the stock torpedoes sim file will result in strange things happening with the new torpedoes code patches

I'll be releasing new version of patcher here soon
Another note: regarding impact angles for the dud chances: the code assumes a perpendicular hit as 90 degrees and a glancing shot (or parallel hit) as 0 degrees. Here is an example of correct entries: