Basic matrix class template. Supports add, sub, matrix mult, scalar mult. Tested mildly.