Expand linear algebra notes
Use a simpler macro