Added attributes for r representation of lvecs
Fixed bug in indexing introduced in previous commit
Fixed problem with shared attributes after indexing