A rust program to do calculations on matrices