first part of jacobi algorithm
norm for vector function
jacobi algorithm completed, need test