CLIENT improvements

multithreaded
matrix generator
matrix checker (JAMA)