Made test for jacobi algorithm, which is passed.
Completed jacobi algorithm function which use similarity transformation function.