Added symmetric test matrix.
Number with highest absolute value is highest.
Renamed S in creation. Added pow to while loop.