Why matrix multiplication works that way: when linear maps become matrices