Try
https://maritime.org/doc/attack/index.php
If you are looking for precise timing, that gets complicated as you have to incorporate torpedo acceleration and speed during turns.
This is why a straight shot was easier to hit and when you use the "fast 90" or "Fast 45" techniques, it is all angles which makes it easier to hit.
Good luck with it