Creating scaling and reflection transformation matrices (which are diagonal)
License: CC BY-NC-SA by Khan Academy