remove old attribute_function stuff
fix typo
add exception
add index member; make set_type protected
set type in constructor
implement vector of arguments for evaluation
add vector of arguments
testing: code for testing