Cofactor Matrix Added

Yeah I was thinking we should have some sort of garbage value to return such as a 0x0 matrix on error or a 1x1 containing numeric_limits::infinity