pls dont do arrays of SGVectors if the number is fixed (as here)
Do a SGMatrix, which makes code much easier to read and maintain (no new/delete, pointers, etc)