Changed GausSeidel and fixed memory leak in operator= of array class