Added helper methods for Matrix.cs

Signed-off-by: ZFerrell72 <zferrell@student.neumont.edu>