Matrix.cs

Adding the Matrix.cs file.