For fun coding related to linear algebra fwiw