Collection of useful linear algebra tools