Um, the Germans didn't solve their torpedo problems until mid-1942, and the proper magnetic heads weren't ready until December of that year. It took them almost twice as long as the Americans to solve the same problems.
http://www.uboat.net/history/torpedo_crisis.htm