Get the orientation of the node-local coordinate system of the structure node.
The return value can be a matrix if both i1 and i2 are omitted,
a vector if both i1 is assigned but i2 is omitted, or
a value if both i1 and i2 are assigned.
Returns:
m - matrix, vector, or value dependent on the arguments