I am using jama libarary for matrix. I used following matrix but when i tried to get S, it gave me error.