Messing around with linear algebra in OCaml