A quick matrix calculator