Remove unnecessary _num_elements variable -- since _element is an index, _num_element is always available
Add/fix a bit of documentation