The Shrinking Target Problem for Matrix Transformations of Tori