Why were there torpedoes in the after room?
Because there was room for them. Submarines were travelling thousands of miles to their patrol areas and back. In order to make the trip truly worthwhile, the boats needed to take enough weapons. Instead of just 16 torpedoes in the forward torpedo room, now these latest boats could carry 24.