put linear algebra into same file as everything else