Added documentation and examples to new age comp function