"So a pz-IIIM can penetrate frontally I didn't think it could."
Keep in mind that the effective thickness of an armor plate at any angle besides 90% is much enhanced. So the heavily sloped glacis of the T-34, for example, will have an effective thickness much greater than its actual thickness. There are several reasons for this;
1. It is simply further to go through a plate diagonally than perpendicularly.
2. At extreme angles an AP shot may simply glance off.
3. AP shells which strike armor at an angle are stressed much more, and in a different way, than AP rounds which strike perpendicularly, which increased the round's chance of breaking on impact.
I have read that a 45 degree angle of impact is very roughly equivalent to a doubling of the armor thickness.