LU fact passing test
added function for generating random matrices