Fixed Vectorized_Basis to pass test.  Test confirms that the tags for vertices are correctly set.  I believe the others are correctly set, too, but the test doesn't address that.