First commit
Fixed check for lower triangular matrices
First commit. Working