add 'function_index' function, similar to 'function', but returns new position instead of value, and make 'function' use it
change size computation for 'a(b)' to be more like MATLAB. Part of issue #300
adapt relative_index test after change in structure of function node
add optimization for contiguous indexing on terminal
add erase function that removes elements at a certain index in a table