Check if Matrix is Valid
Compile current methods into reduce method