got C++ matrix indexing working; changed default in [ to use C++ code