Fixed missing dimension issue.
Added named vector compilation test cases to verify that they are now indeed working.