Matrix is now a class

Vector will still remain a struct until there is a need to change it.