SMS dit: Matrix theory and applications with Matlab