Feel free to ignore this comment (it's not a big deal), but it'd be neat to have a caching mechanism so that this method checks if the transformation matrix generation is up to date. if it is, it makes the dict. if it's not up to date, it will generate the transformation matrices. Ignore this comment for now; it's just a note for future improvements.