Added JAMA lib for matrices as well as a nice str function to print out the matrix.
Added JAMA lib for matrices as well as a nice str function to print out the matrix.