implemented and testet jacobis algorithm