configured for vector
rewrite using vectors and a better readable pivoting algorithm using vector-operations
rewrite using vectors and a better readable pivoting algorithm using vector-operations