Added LinAlg.java; a class containing linear algebra methods.